cppforever.com

#error

Generates a compilation error with a custom message.

#error "Unsupported platform"